/* YQWIN-Plus 下拉列表组件样式 */
.yq-select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  font-size: 14px;
}

.yq-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border: 1px solid #dcdfe6;
  border-radius: 8px;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.3s;
  user-select: none;
}

.yq-select:hover {
  border-color: #409eff;
}

.yq-select.is-open {
  border-color: #409eff;
  box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2);
  border-radius: 8px 8px 0 0;
}

.yq-select.is-disabled {
  background-color: #f5f7fa;
  border-color: #e4e7ed;
  cursor: not-allowed;
  color: #c0c4cc;
}

.yq-select-input {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yq-select-value {
  color: #303133;
}

.yq-select-placeholder {
  color: #c0c4cc;
}

.yq-select-suffix {
  display: flex;
  align-items: center;
  color: #909399;
  margin-left: 8px;
}

.yq-select-caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 5px 0;
  border-color: #909399 transparent transparent;
  transition: transform 0.3s;
}

.yq-select.is-open .yq-select-caret {
  transform: rotate(180deg);
  border-width: 0 5px 5px;
  border-color: transparent transparent #909399;
}

.yq-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  border: 1px solid #e4e7ed;
  border-radius: 0 0 8px 8px;
  background-color: #fff;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.15);
  margin: -1px 0 0;
  padding: 4px 0;
  max-height: 200px;
  overflow-y: auto;
}